package com.atguigu.spzx.manage.mapper;



import com.atguigu.spzx.model.dto.system.EventRegisterDto;
import com.atguigu.spzx.model.entity.system.EventRegister;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EventRegisterMapper {


    List<EventRegister> findByPage(EventRegisterDto eventRegisterDto);

    EventRegister selectByUserName(String eventName);

    void saveRegister(EventRegister eventRegister);

    void updateById(EventRegister eventRegister);

    void deleteById(Long id);

    EventRegister selectById(Long id);
}
